import request from '@/utils/request'
import { ResultVoid, DeepRequired } from '../../interface'

/**
 * 取消停用角色
 * /role/one/status/{id}
 */
export function putRoleOneStatusById(params: PutRoleOneStatusByIdParams) {
  return request.put<DeepRequired<ResultVoid>>(`/role/one/status/${params.id}`)
}

interface PutRoleOneStatusByIdParams {
  id: number
}
